#include "Renderer.h"

Renderer::Renderer(WNDPROC WndProc) : WndProc(WndProc), hDC(NULL)
{
	// Window Parameters
	fullscreen = false;
	windowName = "Game Engine Programming";
	windowWidth = 800;
	windowHeight = 600;
	bits = 16;
}

Renderer::~Renderer()
{
	// Destructor
}

void Renderer::ToggleFullScreenMode(void) {
	// Toggle between fullscreen and window mode
	KillWindow();				// Kill Our Current Window
	fullscreen = !fullscreen;	// Toggle Fullscreen / Windowed Mode
	CreateAWindow();			// Recreate Our OpenGL Window
}